home *** CD-ROM | disk | FTP | other *** search
- Path: cs.tu-berlin.de!news
- From: Olaf Lenzmann <olafbaje@sp.zrz.tu-berlin.de>
- Newsgroups: comp.lang.c++
- Subject: Watcom: corrupt this-pointer
- Date: Thu, 01 Feb 1996 10:38:19 +0100
- Organization: Technical University of Berlin, Germany
- Message-ID: <31108A0B.108DC964@sp.zrz.tu-berlin.de>
- NNTP-Posting-Host: basta.cs.tu-berlin.de
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 2.0b6a (X11; I; Linux 1.2.12 i586)
-
- Hi there !
-
- I have a really confusing problem with Watcom-C++ 10.0:
-
- I have a cpp-Application with lots of self-defined classes,
- compiled with a large memory model. When I create any of
- my objects dynamically, the constructor seems to use a
- corrput segment adress for the this-pointer. The offset
- is ok, but anyway it results in a zillion general protection
- faults. Borland C++ 4.52 does compile it allright though.
-
- Any ideas ? I tried about every compiler switch possible...
-
- Thanx, olaf
-
-
- * Please mail your reply to me, since I don't have continous *
- * access to this newsgroup. *
-